package com.eig.order.service.impl;

import com.eig.common.entity.homepageentity.prefecture.EduCourse;
import com.eig.order.dao.TOrderCourseDao;
import com.eig.order.dao.TOrderDao;
import com.eig.order.service.TOrderCourseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
 * @author ：liu666
 * @date ：
 * @description：
 * @modified By：
 * @version:
 */
@Service("tOrderCourseService")
public class TOrderCourseServiceImpl implements TOrderCourseService {
    @Resource
    private TOrderCourseDao tOrderCourseDao;


    @Override
    public List<EduCourse> getByIdCourse(String id) {
        List<EduCourse> eduCourses = new ArrayList<>();
        eduCourses.add(tOrderCourseDao.selectById(id));
        return eduCourses;
    }
}
